#include "mimemessage.h"

#include <QDateTime>


/* [1] Constructors and Destructors */

MimeMessage::MimeMessage()
{
}

MimeMessage::~MimeMessage()
{

}

/* [1] --- */


/* [2] Getters and Setters */

void MimeMessage::setSender(EmailAddress* e)
{
    this->sender = e;
}

void MimeMessage::addRecipient(EmailAddress* rcpt)
{
    this->recipients << rcpt;
}

void MimeMessage::setSubject(const QString & subject)
{
    this->subject = subject;
}


const EmailAddress & MimeMessage::getSender() const
{
    return *sender;
}

const QList<EmailAddress*> & MimeMessage::getRecipients() const
{
    return recipients;
}

const QString & MimeMessage::getSubject() const
{
    return subject;
}


/* [2] --- */


/* [3] Public Methods */

/* [3] --- */
